#ifndef __AUTHAP_H__
#define __AUTHAP_H__

	extern UINT16 AuthAP_DevAuth(UINT8 *pInBuf, UINT16 nSize, UINT8 AlgType);
	extern UINT16 AuthAP_ChangeDevAuthKey(UINT8 *pInBuf, UINT16 nSize, UINT8 IsCrypt, UINT8 AlgType);
	extern UINT16 AuthAP_GetPinInfo(UINT8 *pInBuf, UINT8* pOutBuf, UINT8 PinType);
	extern UINT16 AuthAP_ChangePin(UINT8 *pInBuf, UINT16 nSize, UINT8 IsMS, UINT8 PinType);
	extern UINT16 AuthAP_VerifyPin(UINT8 *pInBuf, UINT16 nSize, UINT8 IsMS, UINT8 PinType);
	extern UINT16 AuthAP_UnblockPin(UINT8 IsUseRandomFile, UINT8 *pInBuf, UINT16 nSize, UINT8 IsMS);
	extern UINT16 AuthAP_ClearSecureState(UINT8 *pInBuf, UINT8 Mode);

#endif
